055 scl programming basics new project and first program
您好,在本视频中,我们将在这里开始 FCL 编程指令,您可以看到我们将用于命令和定义以及算术或数学指令的括号。
Hello, in this video, we are going to start to FCL programming instructions in here, you can see the parenthesis that we are going to use for the commands and the definitions and also for the arithmetic or math instructions.
他们将使用幂、加号、减号、除号以及乘号。
They will use the power and plus and minus and the division sign and also a multiplication sign.
在这里你还可以看到组成、指令、符号和二进制逻辑运算。
And also in here you can see the composition, instructions, signs and binary logic operations.
您将在这里看到 not 和 and 和 XOR 或 and or 指令和赋值符号。
You will see the not and and and XOR or and or instructions and assignment symbols here.
对于编程循环,我们将使用 if 循环和 case 循环,for 循环和 while 以及重复、继续和退出是程序循环。
And for the programming loops we will use if loop and the case loop and for loop and while and repeat and continue and exit is the program loop.
好的,我们将从 if 开始,以 the 结束,从 case 开始,以 end case 结束。
OK, and we will start with the if and we will finish with the and we will start with the case and we will finish with the end case.
好的,接下来的事情就在这里,例如,如果我们正在使用它,如果编程指令 if 循环,我们将使用构建值。
OK, and the next thing is in here, for example, if we are using it, if programming instruction if loop, we will use build value.
如果我们使用 case 循环,我们将使用整数值。
If we are using case loop, we will use integer value.
这些真的很重要。
These are really important.
让我们进入一个门户,当我们创建一个新项目时,主要的语言是默认语言,这种语言是小图表。
And let's go to a portal and when we create a new project, the main be comes with the default language and this language is little diagram.
我会删除这些意味着奥尔比,我会去新博客,我会写一个新博客,在这里你会看到整箱,好的。
I will delete these mean Olby and I will go to new blog and I will write a new blog and in here you will see FCL, OK.
在其他地方你可以看到这种语言的结构。
And in another places you can see this language as the structure takes.
我会说,好的,现在编辑器已更改,现在 if 和 KS 以及 for 循环在这里您可以看到编程区域或编程接口更改为 ACL 编程。
And I will say, OK, so now the editor is changed and now if and KS and for loops in here you can see the programming area or programming interface is changed to ACL programming.
现在我们可以在这里写下这样的字母,好的,现在在 p.l.c.
And now we can write here the letters like this, OK, and now in p.l.c.
税收领域,我将举行会谈,我将定义 Tritak 输入一和输入二。
tax area, I shall hold talks, I will define Tritak input one and input two.
但地址将是M零点零零点一,输入三将是输入三M零点二。
But the address is going to be M zero point zero zero point one and input three is going to be input three M zero point two.
好的,这是正确的。
OK, that's correct.
让我们从这里开始吧。
And let's go that and let's start in here.
我会说输入一,好的,等于输入二和输入三。
I will say input one, OK, equals input two and input three.
好的,现在我们可以做,我不想让这个项目进入我的模拟器,现在我们可以进行监控,右侧您将看到输入。
OK, and now we can do I don't want this project to my simulator and not and now we are OK and monitoring and the right side you will see input.
一种说法是错误的,现在你可以坐在这里享受护发素了。
One is false that now you can sit and conditioner's here.
输入二为真,真为假,假为假。
Input two is true, true and false is false.
所以这是正确的。
So that is correct.
真实,真实,真实。
True, true and true.
结果是真的。
And the result is true.
让我们把它变成假的,变成真的,假的就是假的。
Let's make it false and true and false is false.
这是正确的。
That's correct.
这就是全部内容和说明。
So this is all and instruction.
我的意思是,这只是一个逻辑组合。
I mean, this is just a logic combination.
如果我在这里说或好的,现在我们将做一个小图表,就像一个并行输入,例如,假设新的块和组织块。
If I say to here or OK, that now we will do the like a little diagram, like a parallel input, for example, let's say the new block and organization block.
这将是一个小图表。
And this will be a little diagram.
好的,在这个组织块中,如果我这样说,例如。
OK, and in this organization block, if I say like this, for example.
和。
And.
还有一件事是这样的。
One more thing like this.
现在我们可以这样说。
And now we can say it like this.
好的,这是或好的或指令,如果我把它放在这里,这是一个好的,让我们接管这个,我会去或听。
OK, this is or OK or instruction, if I put it to here, this is an OK, let's take this over and I will go to or to hear.
好的,让我们深入研究,下载这个,现在不行并进行监控。
OK, and let's drill down, download this one and not OK and monitoring now.
是真是假。
False or true.
真的。
True.
这是正确的。
That's correct.
假的还是假的。
False or false.
错误的。
False.
对或错。
True or false.
真的。
True.
真还是真就是真。
True or true is true.
好的,这有效。
OK, this is working.
这就是官方语言,HPLC 编程语言的语法结构。
So this is the syntax structure of official language, HPLC programming language.
这就是我们如何创建一个简单的编程语言组织公告门户?
And this is how can we create a simple programming languages organization bulletin portal?
我们将在下一个视频中继续使用 IF 循环和 Kastrup,并在本节末尾有效地学习这种编程语言。
And we will continue with the IF Loop and the Kastrup in the next videos and we will learn this programming language effectively at the end of the section.
我们将在接下来的几年中分别进行说明和比较、比较说明和比赛。
And we will do a instructions and we will do a compare, compare instructions and competitions each in the next few years.
但目前我已经完成了这个视频。
But for the moment I am finished for this video.
下一个视频见。
See you in the next video.